<template>
  <div class="nav">
    <ul>
      <!-- exact 严格匹配，默认模糊匹配 -->
      <router-link tag="li" active-class="active" to="/Footerone">
        <i class="iconfont icon-chushimao"></i>
        <p>学烘焙</p>
      </router-link>
      <router-link tag="li" active-class="active" to="/Footertwo">
        <i class="iconfont icon-tiantianquan"></i>
        <p>烘焙圈</p>
      </router-link>
      <router-link tag="li" active-class="active" to="/Footerthree">
        <i class="iconfont icon-wenda"></i>
        <p>爱问答</p>
      </router-link>
      <router-link tag="li" active-class="active" to="/Footerfore">
        <i class="iconfont icon-wode"></i>
        <p>小窝窝</p>
      </router-link>
    </ul>
  </div>
</template>

<script>
// 导入css
import "../assets/iconfon/iconfont.css"

export default {
  data() {
    return {};
  },
  mounted() {},
};
</script>

<style lang="scss" scoped>
ul,ol,li{
  list-style: none;
}
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  height: 50px;
  // text-align: center;
  background: #fff;
  color: #7a7e83;
  width: 100%;
  z-index: 999;

  ul {
    display: flex;
    align-items: center;
    li {
      margin-top: -11px;
      flex: 1;
      height: 43px;
      &.active {
        color: #fe5100;
      }
      p {
        margin-top: 0.5px;
        font-weight: bold;
      }
      i {
        font-size: 20px;
        margin-left: 10px;
      }
    }
  }
}
</style>
